  

CKEDITOR.plugins.add('flvPlayer',   
{   
    init: function(editor)       
    {           
        //plugin code goes here  
         var pluginName = 'flvPlayer'; 
        editor.ui.addButton('flvPlayer',   
        {                  
            label: '插入Flv视频', 
            icon: this.path + 'flvplayer.jpg',
            command: pluginName   
        });  
                
        editor.addCommand(pluginName, new CKEDITOR.dialogCommand(pluginName));  
         CKEDITOR.dialog.add(pluginName, this.path + 'dialogs/flvPlayer.js');   
    }   
}   
)

